FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER BetterFeng

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /feng-gateway

WORKDIR /feng-gateway

EXPOSE 8000

COPY ./target/feng-gateway.jar ./

CMD java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar feng-gateway.jar
